package com.mryang.ladder;

import java.util.Scanner;

/**
 * @ClassName L1_012
 * @Description TODO  对任意给定的不超过 10 的正整数 n，要求你输出 2^n值
 * @Author Genius
 * @Date 2021/1/25 22:24
 */
public class L1_012 {
    public static void main(String[] args) {
        Scanner scr = new Scanner(System.in);
        int num = 1;
        int number = scr.nextInt();

        if(number == 0){
            System.out.println("2^"+number+" = 1");
        }else {
            for(int i = 0;i < number;i++){
                num = num * 2;
            }
            System.out.println("2^"+number+" = "+num);
        }

    }
}
